home *** CD-ROM | disk | FTP | other *** search
/ Oh!X 2001 Spring / Oh!X 2001 Spring Special CD-ROM (Japan).7z / Oh!X 2001 Spring Special CD-ROM (Japan) (Track 1).bin / GALAXY / ohx5-1 / ohx5_1.h < prev    next >
C/C++ Source or Header  |  2000-12-16  |  954b  |  37 lines

  1. #if !defined(AFX_OHX4_H__3BD63747_B852_11D3_827A_0000F460DD22__INCLUDED_)
  2. #define AFX_OHX4_H__3BD63747_B852_11D3_827A_0000F460DD22__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7.  
  8. #include "resource.h"
  9.  
  10. #define xRelease( name )    if( name ){ name->Release(); name = NULL; }
  11. #define    xDelete( name )        delete[] name; name = NULL;
  12.  
  13. #ifndef    EXT
  14. #define    EXT    extern
  15. #endif
  16.  
  17. EXT    HINSTANCE hInstApp;    // アプリケーションのインスタンス・ハンドル
  18. EXT    HWND hwndApp;        // アプリケーションのウインドウ・ハンドル
  19. EXT    int    system_state;
  20. EXT    int    scene_number;
  21. #include    "mapctrl.h"
  22. #include    "d3dxdrive.h"
  23. #include    "render.h"
  24. #include    "control.h"
  25. #include    "dplaydrive.h"
  26. #include    "d3dxbitmap.h"
  27.  
  28. /*--------------------------------------- 各種宣言 -------------------------------------------*/
  29. enum sstate {
  30.     ID_2D_SCENE,
  31.     ID_3D_MOVE
  32. };
  33.  
  34.  
  35.  
  36. #endif // !defined(AFX_OHX4_H__3BD63747_B852_11D3_827A_0000F460DD22__INCLUDED_)
  37.